package com.style_transfer.dao;

import com.style_transfer.model.ImageStyle;
import org.apache.ibatis.annotations.Param;
import org.apache.ibatis.annotations.Select;
import org.springframework.stereotype.Repository;

@Repository
public interface TransferDao {
    @Select("select * from image_style where im_id = #{im_id} and s_id = #{s_id}")
    public ImageStyle getImageStyle(@Param("im_id") int im_id,@Param("s_id") int s_id);

    public ImageStyle getImageStyleByName(String l_name,int s_id);
}
